package cn.makabaka.epidemic.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;

import java.io.Serializable;
import java.time.LocalDateTime;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 *
 * </p>
 *
 * @author 庆宝
 * @since 2022-07-06
 */
@Getter
@Setter
@ApiModel(value = "Banner对象", description = "")
public class Banner implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("轮播图")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    private String name;

    private String type;

    private Long size;

    private Integer enable;

    private LocalDateTime creatTime;

    private LocalDateTime updateTime;

    private String content;

    private String img;


}
